/**
 * @author Tobias Boehm
 *
 * 22.06.2011
 */
package org.anddev.andengine.extension.tbsengine.gameobject.ability;

/**
 * This is the base class for all types of attack abilities.<p>
 * Notice:<br>
 * You should not extend this class, use the AbilityFactory instead.
 * 
 * @author Tobias Boehm
 *
 */
public class AttackAbility extends AbsAbility {

	public static enum AttackType{meele,projectil,spell};
	
	private final AttackType mAttackType;
	private final int mMindDamage;
	private final int mMaxDamage;
	private final int mRange;
	private final int mHits;
	
	public AttackAbility(final AttackType pAttackType, final int pMinDamage,
						 final int pMaxDamage, final int pRange,
						 final int pHits, final String pName,
						 final String pDescription, final int pIconTileID){
		
		super(pName, pDescription, pIconTileID);
		
		this.mAttackType = pAttackType;
		
		this.mMindDamage = pMinDamage;
		
		this.mMaxDamage = pMaxDamage;
		
		this.mRange = pRange;
		
		this.mHits = pHits;
	}
	
}
